import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import { pathRewritePlugin, pageEntry } from './scripts/plugins'

// https://vitejs.dev/config/
export default defineConfig({
  // base: "./",
  // root: "src/pages",
  plugins: [vue(), pathRewritePlugin()],
  build: {
    rollupOptions: {
      input: pageEntry
    }
  }
})
